package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysUserPermission;
import cn.wgx.modules.sys.entity.SysUserPermissionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserPermissionMapper {
    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    long countByExample(SysUserPermissionExample example);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int deleteByExample(SysUserPermissionExample example);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int deleteByPrimaryKey(Integer user_permission_id);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int insert(SysUserPermission record);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int insertSelective(SysUserPermission record);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    List<SysUserPermission> selectByExample(SysUserPermissionExample example);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    SysUserPermission selectByPrimaryKey(Integer user_permission_id);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int updateByExampleSelective(@Param("record") SysUserPermission record, @Param("example") SysUserPermissionExample example);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int updateByExample(@Param("record") SysUserPermission record, @Param("example") SysUserPermissionExample example);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int updateByPrimaryKeySelective(SysUserPermission record);

    /**
     *
     * @mbg.generated Sat Feb 15 19:16:58 CST 2020
     */
    int updateByPrimaryKey(SysUserPermission record);
}